package com.ruoyi.common.core.redis.fake.service;

import com.ruoyi.common.core.redis.fake.domain.SysFakeRedisCache;

import java.util.Collection;
import java.util.List;

public interface ISysFakeRedisCacheService
{

    public SysFakeRedisCache selectCache(String key);

    public List<SysFakeRedisCache> selectCacheList(Collection<String> keys);

    public int insertCache(SysFakeRedisCache cache);

    public int updateCache(SysFakeRedisCache cache);

    public void deleteCacheByKey(String key);

    public void deleteCacheByKeys(Collection<String> keys);

    public Collection<String> keys(String pattern);
}
